gtk4.git
12 years agoGtkPopover: use GdkRectangle instead of cairo_rectangle_int_t
Juan R. García Blanco [Tue, 4 Feb 2014 21:33:25 +0000 (22:33 +0100)]
GtkPopover: use GdkRectangle instead of cairo_rectangle_int_t

cairo_rectangle_int_t replaced by GdkRectangle whenever it is used.
Also, rect parameter in public method gtk_popover_set_pointing_to
made const.

Bug #723394

12 years agoGtkDialog: Make headerbar buttons homogeneous
Matthias Clasen [Sat, 8 Feb 2014 03:36:24 +0000 (22:36 -0500)]
GtkDialog: Make headerbar buttons homogeneous

The buttons in headerbars should be all the same width. Since
GtkHeaderBar doesn't have a homogeneous mode, use a size group
to achieve this.

https://bugzilla.gnome.org/show_bug.cgi?id=723672

12 years agoGtkFlowBox::child-activated: fix param type in g_signal_connect
Juan R. García Blanco [Wed, 5 Feb 2014 21:10:05 +0000 (22:10 +0100)]
GtkFlowBox::child-activated: fix param type in g_signal_connect

Replace GTK_TYPE_WIDGET with more specific GTK_TYPE_FLOW_BOX_CHILD
for GtkFlowBox::child-activated. This matches signature of
child_activated slot in class struct.

https://bugzilla.gnome.org/show_bug.cgi?id=723716

12 years agodocs: fix typo
William Jon McCann [Sat, 8 Feb 2014 02:34:27 +0000 (21:34 -0500)]
docs: fix typo

12 years agodocs: rewrite the CSS Properties docs
William Jon McCann [Sat, 8 Feb 2014 01:52:37 +0000 (20:52 -0500)]
docs: rewrite the CSS Properties docs

12 years agodocs: don't use a table for the region docs
William Jon McCann [Fri, 7 Feb 2014 23:25:42 +0000 (18:25 -0500)]
docs: don't use a table for the region docs

12 years agodocs: improve the cssprovider documentation layout
William Jon McCann [Fri, 7 Feb 2014 22:35:22 +0000 (17:35 -0500)]
docs: improve the cssprovider documentation layout

12 years agoFix margin-start/end property implementation
Matthias Clasen [Sat, 8 Feb 2014 01:25:12 +0000 (20:25 -0500)]
Fix margin-start/end property implementation

The properties are declared read-write, but only the setter
was hooked up. This was leading to criticals in test apps using
the prop-editor.c code. Complete the implementation by adding the
getter side too.

12 years agowayland: Add support for set_shadow_width
Jasper St. Pierre [Fri, 7 Feb 2014 22:20:14 +0000 (17:20 -0500)]
wayland: Add support for set_shadow_width

12 years agowayland: Add support for delete event
Jasper St. Pierre [Fri, 7 Feb 2014 22:16:40 +0000 (17:16 -0500)]
wayland: Add support for delete event

12 years agowayland: Remove edges from configure
Jasper St. Pierre [Fri, 7 Feb 2014 22:16:28 +0000 (17:16 -0500)]
wayland: Remove edges from configure

12 years agogdkthreads: Update documentation
Jasper St. Pierre [Thu, 6 Feb 2014 16:44:30 +0000 (11:44 -0500)]
gdkthreads: Update documentation

12 years agodocs: don't use <anchor>
William Jon McCann [Fri, 7 Feb 2014 20:37:02 +0000 (15:37 -0500)]
docs: don't use <anchor>

12 years agoAdd a test for model-based popovers
Matthias Clasen [Sun, 26 Jan 2014 13:02:28 +0000 (08:02 -0500)]
Add a test for model-based popovers

https://bugzilla.gnome.org/show_bug.cgi?id=723014

12 years agoPopulate popovers from menu models
Matthias Clasen [Fri, 7 Feb 2014 19:51:49 +0000 (14:51 -0500)]
Populate popovers from menu models

This adds a new function, gtk_popover_new_from_model, which creates
a popover and populates it with suitable content according to the
menu model. The current implementation uses GtkModelButton for the
individual items, and a GtkStack for submenus.

https://bugzilla.gnome.org/show_bug.cgi?id=723014

12 years agoIntroduce GtkModelButton
Matthias Clasen [Fri, 7 Feb 2014 19:51:34 +0000 (14:51 -0500)]
Introduce GtkModelButton

Similar in spirit to GtkModelMenuItem, this private GtkButton subclass
can connect to a GtkMenuTrackerItem and present itself as either a
regular button, a check button, or a radio button. Activation and
state tracking is done through the GAction that is associated with
the menu tracker item.

https://bugzilla.gnome.org/show_bug.cgi?id=723014

12 years agodocs: use proper quotations instead of '*'
William Jon McCann [Fri, 7 Feb 2014 19:03:49 +0000 (14:03 -0500)]
docs: use proper quotations instead of '*'

12 years agodocs: use apostrophe in *'m
William Jon McCann [Fri, 7 Feb 2014 18:42:09 +0000 (13:42 -0500)]
docs: use apostrophe in *'m

12 years agodocs: use apostrophe in *'d
William Jon McCann [Fri, 7 Feb 2014 18:39:53 +0000 (13:39 -0500)]
docs: use apostrophe in *'d

12 years agodocs: use apostrophe in *'ve
William Jon McCann [Fri, 7 Feb 2014 18:38:26 +0000 (13:38 -0500)]
docs: use apostrophe in *'ve

12 years agodocs: use apostrophe in *'re
William Jon McCann [Fri, 7 Feb 2014 18:37:09 +0000 (13:37 -0500)]
docs: use apostrophe in *'re

12 years agodocs: use apostrophe in *'ll
William Jon McCann [Fri, 7 Feb 2014 18:35:54 +0000 (13:35 -0500)]
docs: use apostrophe in *'ll

12 years agodocs: use apostrophes in *n't
William Jon McCann [Fri, 7 Feb 2014 18:32:47 +0000 (13:32 -0500)]
docs: use apostrophes in *n't

12 years agodocs: use more apostrophes
William Jon McCann [Fri, 7 Feb 2014 18:26:12 +0000 (13:26 -0500)]
docs: use more apostrophes

12 years agodocs: use proper apostrophe
William Jon McCann [Fri, 7 Feb 2014 18:01:26 +0000 (13:01 -0500)]
docs: use proper apostrophe

https://wiki.gnome.org/Design/OS/Typography

12 years agodocs: use links instead of <xref>
William Jon McCann [Fri, 7 Feb 2014 16:12:43 +0000 (11:12 -0500)]
docs: use links instead of <xref>

12 years agopopover: propagate (insensitive|backdrop) flags from relative-to widget
Carlos Garnacho [Fri, 7 Feb 2014 15:18:48 +0000 (16:18 +0100)]
popover: propagate (insensitive|backdrop) flags from relative-to widget

Popovers aren't direct children of the widget they point to, but yet
they act as children of it, so do the same with state propagation,
so the flags that propagate across the hierarchy reach popovers too.

12 years agopopover: Listen on grab_notify from the relative-to widget
Carlos Garnacho [Fri, 7 Feb 2014 15:14:23 +0000 (16:14 +0100)]
popover: Listen on grab_notify from the relative-to widget

Anytime ::grab-notify comes across, the popover visibility and GTK+
grab ownership are checked, so the popover is hidden when it loses
the GTK+ by any reason.

12 years agoAdd GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
William Jon McCann [Fri, 7 Feb 2014 15:28:24 +0000 (10:28 -0500)]
Add GTK_STYLE_CLASS_DESTRUCTIVE_ACTION

12 years agoAdd GTK_STYLE_CLASS_SUGGESTED_ACTION
William Jon McCann [Fri, 7 Feb 2014 15:25:00 +0000 (10:25 -0500)]
Add GTK_STYLE_CLASS_SUGGESTED_ACTION

12 years agodocs: remove <emphasis>
William Jon McCann [Fri, 7 Feb 2014 15:07:16 +0000 (10:07 -0500)]
docs: remove <emphasis>

12 years agodocs: Use markup for links
William Jon McCann [Fri, 7 Feb 2014 02:07:03 +0000 (21:07 -0500)]
docs: Use markup for links

12 years agowidget: Ignore text direction in gtk_widget_set_state_flags()
Benjamin Otte [Fri, 7 Feb 2014 13:45:54 +0000 (14:45 +0100)]
widget: Ignore text direction in gtk_widget_set_state_flags()

Previously we did a semi-successful job at ignoring it. Unfortunately
this job was bad enough that we could lose the direction.

We still allow passing in the enum values, because we want code like
this to work:
  set_state_flags (get_state_flags() | SOME_FLAGS)

12 years agoTajik translation updated
Victor Ibragimov [Fri, 7 Feb 2014 12:46:14 +0000 (17:46 +0500)]
Tajik translation updated

12 years agogtkmagnifier: do not use P_() macro for property names
Carlos Garcia Campos [Fri, 7 Feb 2014 07:17:11 +0000 (08:17 +0100)]
gtkmagnifier: do not use P_() macro for property names

12 years agoWayland: Set gtk-dialogs-use-header
Matthias Clasen [Fri, 7 Feb 2014 03:51:05 +0000 (22:51 -0500)]
Wayland: Set gtk-dialogs-use-header

Since we don't have a setting for this, hardcode the value
for now.

12 years agoUpdated Galician translations
Fran Diéguez [Fri, 7 Feb 2014 01:23:28 +0000 (02:23 +0100)]
Updated Galician translations

12 years agoBump glib dep
Matthias Clasen [Thu, 6 Feb 2014 22:44:24 +0000 (17:44 -0500)]
Bump glib dep

12 years agoRevert "Fix memory leak in GtkTreeViewAccessible"
Ignacio Casal Quinteiro [Thu, 6 Feb 2014 21:15:12 +0000 (22:15 +0100)]
Revert "Fix memory leak in GtkTreeViewAccessible"

This reverts commit 7a411eb6dd4dd0dedf28f3b5414561e765886369.
This also makes gedit external tools manager to crash

12 years agogdkwindow-wayland: Make function order match listener order
Jasper St. Pierre [Thu, 6 Feb 2014 19:28:51 +0000 (14:28 -0500)]
gdkwindow-wayland: Make function order match listener order

12 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 6 Feb 2014 19:24:22 +0000 (20:24 +0100)]
Updated Slovenian translation

12 years agoGtkApplication: install gtk option group
Ryan Lortie [Thu, 6 Feb 2014 17:33:44 +0000 (17:33 +0000)]
GtkApplication: install gtk option group

Install Gtk's GOptionGroup in GApplication just before commandline
arguments are parsed.

12 years agoGtkTreeViewColumn: fix critical warning
Claudio Saavedra [Tue, 4 Feb 2014 20:32:02 +0000 (22:32 +0200)]
GtkTreeViewColumn: fix critical warning

Do not call _column_autosize() if there is no treeview set yet.

https://bugzilla.gnome.org/show_bug.cgi?id=723637

12 years agogtkwindow: remove delete-event idle function on finalize
Claudio Saavedra [Thu, 6 Feb 2014 15:25:55 +0000 (17:25 +0200)]
gtkwindow: remove delete-event idle function on finalize

Heavy duty can prevent this idle function from being called before
the window is destroyed, so make sure that the source is removed
when the window is finalized.

https://bugzilla.gnome.org/show_bug.cgi?id=723771

12 years agodocs: fix quotes in example
William Jon McCann [Thu, 6 Feb 2014 15:54:42 +0000 (10:54 -0500)]
docs: fix quotes in example

12 years agopopover: Emit ::closed once modality is cleared
Bastien Nocera [Thu, 6 Feb 2014 15:13:43 +0000 (16:13 +0100)]
popover: Emit ::closed once modality is cleared

Otherwise, calling gtk_widget_grab_focus() on a widget when the
popover send ::closed won't work.

12 years agodocs: Don't use warnings
William Jon McCann [Thu, 6 Feb 2014 14:44:46 +0000 (09:44 -0500)]
docs: Don't use warnings

12 years agopopover: Add ::closed signal
Carlos Garnacho [Thu, 6 Feb 2014 14:30:55 +0000 (15:30 +0100)]
popover: Add ::closed signal

This signal is emitted when the popover is dismissed either through
API or user interaction, somewhat more friendly than connecting to
::unmap.

12 years agopopover: Add padding pointers to GtkPopoverClass
Carlos Garnacho [Thu, 6 Feb 2014 14:21:56 +0000 (15:21 +0100)]
popover: Add padding pointers to GtkPopoverClass

12 years agodocs: don't use <important>
William Jon McCann [Wed, 5 Feb 2014 07:25:03 +0000 (02:25 -0500)]
docs: don't use <important>

12 years agodocs: don't use <warning>
William Jon McCann [Wed, 5 Feb 2014 07:17:03 +0000 (02:17 -0500)]
docs: don't use <warning>

12 years agodocs: use markdown instead of <note>
William Jon McCann [Wed, 5 Feb 2014 04:57:30 +0000 (23:57 -0500)]
docs: use markdown instead of <note>

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Wed, 5 Feb 2014 22:31:24 +0000 (22:31 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated translation date
GNOME Translation Robot [Wed, 5 Feb 2014 21:02:57 +0000 (21:02 +0000)]
Updated translation date

This is a test commit for hook checks.

12 years agoUse proper quotes in gdk
William Jon McCann [Wed, 5 Feb 2014 19:50:22 +0000 (14:50 -0500)]
Use proper quotes in gdk

12 years agodocs: use proper quotes
William Jon McCann [Wed, 5 Feb 2014 18:07:34 +0000 (13:07 -0500)]
docs: use proper quotes

12 years agodocs: fix missing quotation mark
William Jon McCann [Wed, 5 Feb 2014 18:21:57 +0000 (13:21 -0500)]
docs: fix missing quotation mark

12 years agoUpdated French translation
Claude Paroz [Wed, 5 Feb 2014 20:05:43 +0000 (20:05 +0000)]
Updated French translation

12 years agodocs: add back id for section heading
William Jon McCann [Wed, 5 Feb 2014 05:32:37 +0000 (00:32 -0500)]
docs: add back id for section heading

It was lost during the markdown conversion.

12 years agodocs: Don't use <xi:include>
William Jon McCann [Wed, 5 Feb 2014 02:35:21 +0000 (21:35 -0500)]
docs: Don't use <xi:include>

12 years agoUpdated French translation
Claude Paroz [Wed, 5 Feb 2014 17:13:56 +0000 (18:13 +0100)]
Updated French translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 5 Feb 2014 12:49:05 +0000 (13:49 +0100)]
Updated Spanish translation

12 years agolabel: Invalidate link colors on style change
Benjamin Otte [Wed, 5 Feb 2014 12:36:33 +0000 (13:36 +0100)]
label: Invalidate link colors on style change

Discovered-by: Timm Bäder <mail@baedert.org>
https://bugzilla.gnome.org/show_bug.cgi?id=721309

12 years agolabel: refactor code
Benjamin Otte [Wed, 5 Feb 2014 02:17:48 +0000 (03:17 +0100)]
label: refactor code

Split out function for setting attributes. This will be needed in future
patches.

12 years agolabel: Avoid creating new attribute list
Benjamin Otte [Tue, 4 Feb 2014 22:34:06 +0000 (23:34 +0100)]
label: Avoid creating new attribute list

Only create an attribute list for merging if we actually need to merge.

This bug was introduced in 5230cfe805b8f0046896c029612180fc9d4cc5df

12 years agowidget: Fix margin-start and margin-end properties
Bastien Nocera [Wed, 5 Feb 2014 09:34:44 +0000 (10:34 +0100)]
widget: Fix margin-start and margin-end properties

The margin-start and margin-end properties were incorrectly
defined, so margins weren't respected for RTL languages.

https://bugzilla.gnome.org/show_bug.cgi?id=723627

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Wed, 5 Feb 2014 11:03:40 +0000 (11:03 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated Thai translation
Theppitak Karoonboonyanan [Wed, 5 Feb 2014 09:23:52 +0000 (16:23 +0700)]
Updated Thai translation

12 years agoAdd minimal popover theming to Raleigh
Matthias Clasen [Wed, 5 Feb 2014 04:10:22 +0000 (23:10 -0500)]
Add minimal popover theming to Raleigh

Add background and border, so the popover boundaries are visible.

12 years agodocs: Use "#" for refsect2 instead of ##
William Jon McCann [Wed, 5 Feb 2014 02:00:58 +0000 (21:00 -0500)]
docs: Use "#" for refsect2 instead of ##

12 years agodocs: don't use <para id="">
William Jon McCann [Wed, 5 Feb 2014 01:21:05 +0000 (20:21 -0500)]
docs: don't use <para id="">

12 years agodocs: use a list instead of a table
William Jon McCann [Wed, 5 Feb 2014 01:00:53 +0000 (20:00 -0500)]
docs: use a list instead of a table

12 years agodocs: don't use <orderedlist>
William Jon McCann [Wed, 5 Feb 2014 00:45:36 +0000 (19:45 -0500)]
docs: don't use <orderedlist>

12 years agodocs: don't use <variablelist>
William Jon McCann [Wed, 5 Feb 2014 00:40:34 +0000 (19:40 -0500)]
docs: don't use <variablelist>

12 years agodocs: don't use itemizedlist
William Jon McCann [Wed, 5 Feb 2014 00:33:43 +0000 (19:33 -0500)]
docs: don't use itemizedlist

12 years agodocs: don't use <keycap> tags
William Jon McCann [Wed, 5 Feb 2014 00:29:00 +0000 (19:29 -0500)]
docs: don't use <keycap> tags

12 years agodocs: don't use <replaceable>
William Jon McCann [Wed, 5 Feb 2014 00:20:16 +0000 (19:20 -0500)]
docs: don't use <replaceable>

12 years agodocs: don't use ulink. use markdown instead
William Jon McCann [Tue, 4 Feb 2014 23:53:51 +0000 (18:53 -0500)]
docs: don't use ulink. use markdown instead

12 years agodocs: don't use <varnam>
William Jon McCann [Tue, 4 Feb 2014 23:32:42 +0000 (18:32 -0500)]
docs: don't use <varnam>

12 years agodocs: don't use <parameter> tags
William Jon McCann [Tue, 4 Feb 2014 23:30:46 +0000 (18:30 -0500)]
docs: don't use <parameter> tags

12 years agodocs: use ` instead of <literal>
William Jon McCann [Tue, 4 Feb 2014 23:21:13 +0000 (18:21 -0500)]
docs: use ` instead of <literal>

12 years agodocs: use quotes instead of <firstterm>
William Jon McCann [Tue, 4 Feb 2014 23:10:11 +0000 (18:10 -0500)]
docs: use quotes instead of <firstterm>

12 years agodocs: don't use <application> tags
William Jon McCann [Tue, 4 Feb 2014 23:01:24 +0000 (18:01 -0500)]
docs: don't use <application> tags

12 years agodocs: don't use <option>
William Jon McCann [Tue, 4 Feb 2014 22:48:33 +0000 (17:48 -0500)]
docs: don't use <option>

12 years agodocs: don't use <quote>
William Jon McCann [Tue, 4 Feb 2014 22:42:22 +0000 (17:42 -0500)]
docs: don't use <quote>

12 years agodocs: don't use <tag> docbook elements
William Jon McCann [Tue, 4 Feb 2014 22:38:09 +0000 (17:38 -0500)]
docs: don't use <tag> docbook elements

12 years agodocs: use a code block instead of <screen>
William Jon McCann [Tue, 4 Feb 2014 22:31:17 +0000 (17:31 -0500)]
docs: use a code block instead of <screen>

12 years agodocs: replace another envar that sneaked in
William Jon McCann [Tue, 4 Feb 2014 22:25:37 +0000 (17:25 -0500)]
docs: replace another envar that sneaked in

12 years agodocs: replace all figures with headings and images
William Jon McCann [Tue, 4 Feb 2014 22:20:43 +0000 (17:20 -0500)]
docs: replace all figures with headings and images

12 years agodocs: fix last commit
William Jon McCann [Tue, 4 Feb 2014 22:09:12 +0000 (17:09 -0500)]
docs: fix last commit

12 years agodocs: replace all <examples> with markdown headings
William Jon McCann [Tue, 4 Feb 2014 21:57:57 +0000 (16:57 -0500)]
docs: replace all <examples> with markdown headings

12 years agodocs: Use markdown for section headings
William Jon McCann [Tue, 4 Feb 2014 20:42:30 +0000 (15:42 -0500)]
docs: Use markdown for section headings

12 years agodocs: use markdown instead of inlinegraphic tags
William Jon McCann [Mon, 3 Feb 2014 22:19:27 +0000 (17:19 -0500)]
docs: use markdown instead of inlinegraphic tags

12 years agodocs: Use markdown for ulinks
William Jon McCann [Mon, 3 Feb 2014 21:56:15 +0000 (16:56 -0500)]
docs: Use markdown for ulinks

12 years agodocs: use markdown instead of <filename> tags
William Jon McCann [Mon, 3 Feb 2014 21:34:03 +0000 (16:34 -0500)]
docs: use markdown instead of <filename> tags

12 years agodocs: use markdown for <envar> tags
William Jon McCann [Mon, 3 Feb 2014 21:20:00 +0000 (16:20 -0500)]
docs: use markdown for <envar> tags

12 years agoBump version
Matthias Clasen [Tue, 4 Feb 2014 21:57:58 +0000 (16:57 -0500)]
Bump version

12 years ago3.11.5
Matthias Clasen [Tue, 4 Feb 2014 04:19:23 +0000 (23:19 -0500)]
3.11.5

12 years agowidget factory: Style the revealer as a notification
Matthias Clasen [Tue, 4 Feb 2014 20:57:22 +0000 (15:57 -0500)]
widget factory: Style the revealer as a notification

Just to show that this is essentially the same as GdNotification
already.

12 years agoscalebutton: Apply a shape on the popover
Carlos Garnacho [Tue, 4 Feb 2014 19:46:06 +0000 (20:46 +0100)]
scalebutton: Apply a shape on the popover

This hideous hack is necessary so far because the main users of
GtkScaleButton are also clutter users, so the GtkScaleButton popover
will be very likely shaped against a clutter-enabled native window.

https://bugzilla.gnome.org/show_bug.cgi?id=723556